notification.htmlHTMLudog7#πùΔ£πùΔ£ÅÅ:Y Monkeybread Realbasic plugin - Documentation - Notification

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class Notification

class, Notification Mo, 19. Aug 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: A class to notifiy the user.

FlashIcon as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Should the icon flash in the menubar?
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.FlashIcon=true
n.show

IconID as integer

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: An ID of a SICN Ressource in the app's ressources to use when flashing the icon.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.flashicon=true
n.iconid=128
n.show

mark as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Should the app be marked in the application menu?
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.mark=true
n.show

Message as string

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: The text to be displayed to the user.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.show
Notes: may be empty to just bounce the Icon in the dock.

method show

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Starts the Notification.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.show

PlaySystemSound as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Plays the system sound when the dialog is showed.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.PlaySystemSound=true
n.message="Hello world"
n.show
Notes: other sounds will be supported in the next release.

class Object

class, Notification Mi, 17. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: The object class is the base of all classes in Realbasic.

FlashIcon as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Should the icon flash in the menubar?
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.FlashIcon=true
n.show

IconID as integer

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: An ID of a SICN Ressource in the app's ressources to use when flashing the icon.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.flashicon=true
n.iconid=128
n.show

mark as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Should the app be marked in the application menu?
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.mark=true
n.show

Message as string

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: The text to be displayed to the user.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.show
Notes: may be empty to just bounce the Icon in the dock.

method show

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Starts the Notification.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.message="Hello world"
n.show

PlaySystemSound as boolean

property, Notification So, 28. Apr 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: does nothing.
Function: Plays the system sound when the dialog is showed.
Example:
dim n as notification // in the window

n=new notification // in the open event
n.PlaySystemSound=true
n.message="Hello world"
n.show
Notes: other sounds will be supported in the next release.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ